package net.ojbk.study.twobox.beans.vo;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: twobox
 * Date: 2019/4/17
 * Time: 20:45
 * Description: No Description
 */
public class PayStudent {
    @Min(value = 0, message = "请选择正确的学生")
    private int id;
    private String username;
    private String gender;
    private String resourcelevel;
    private String rstate;
    // 已下为设置
    @NotNull(message = "分配班级不能为空。")
    private Integer classid;
    @NotNull(message = "开始时间不能为空")
    private Date begintime;
    @NotNull(message = "工作时间不能为空")
    private Date jobtime;

    public Date getJobtime() {
        return jobtime;
    }

    public void setJobtime(Date jobtime) {
        this.jobtime = jobtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getResourcelevel() {
        return resourcelevel;
    }

    public void setResourcelevel(String resourcelevel) {
        this.resourcelevel = resourcelevel;
    }

    public String getRstate() {
        return rstate;
    }

    public void setRstate(String rstate) {
        this.rstate = rstate;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }
}
